package com.ruoyi.energy.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 能耗分析 查询vo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EnergyAnalysisQuery {

    @ApiModelProperty(name = "startDateTime", value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startDateTime;

    @ApiModelProperty(name = "endDateTime", value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endDateTime;

    @ApiModelProperty(name = "assetCode", value = "资产编码")
    private String assetCode;

    @ApiModelProperty(name = "startStatisticTime", value = "统计时间的开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startStatisticTime;

    @ApiModelProperty(name = "endStatisticTime", value = "统计时间的结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endStatisticTime;

    @ApiModelProperty(name = "level", value = "级别")
    private Integer level;

    @ApiModelProperty(name = "id", value = "")
    private Long id;

    @ApiModelProperty(name = "assetId", value = "资产id")
    private Long assetId;

    @ApiModelProperty(name = "locationIden", value = "空间标识")
    private String locationIden;

    @ApiModelProperty(name = "assetCodes", value = "资产编码集合")
    private List<String> assetCodes;

    @ApiModelProperty(name = "assetName", value = "资产名称")
    private String assetName;

    @ApiModelProperty(name = "type", value = "类型")
    private Integer type;

    @ApiModelProperty(name = "areaId", value = "工作区id")
    private String areaId;

    @ApiModelProperty(name = "elecEnergy", value = "电能")
    private double elecEnergy;

    @ApiModelProperty(name = "hotWaterEnergy", value = "热水")
    private double hotWaterEnergy;

    @ApiModelProperty(name = "coldWaterEnergy", value = "冷水")
    private double coldWaterEnergy;

    @ApiModelProperty(name = "natGasEnergy", value = "天然气")
    private double natGasEnergy;

    @ApiModelProperty(name = "comAirEnergy", value = "压缩空气")
    private double comAirEnergy;

    @ApiModelProperty(name = "indWaterEnergy", value = "工业水")
    private double indWaterEnergy;

    @ApiModelProperty(name = "wasteWaterEnergy", value = "废水")
    private double wasteWaterEnergy;

    @ApiModelProperty(name = "pureWater", value = "纯水")
    private double pureWater;

    private String startMonth;

    private String endMonth;
}
